import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import axios from './utils/request'
// 引入elementUi
import ElementUI from 'element-ui'

//解决 ios环境下select组件不能唤醒键盘
// ElementUI.Select.computed.readonly = function () {
//   const isIE = !this.$isServer && !Number.isNaN(Number(document.documentMode));
//   return !(this.filterable || this.multiple || !isIE) && !this.visible;
// };

import 'element-ui/lib/theme-chalk/index.css'
// 引入全局样式
import '@/assets/css/global.css'
import '@/assets/iconfont/iconfont.css'

//手写签名插件
import vueSignature from "vue-signature"
Vue.use(vueSignature)

import VCharts from 'v-charts'
import Searchmodule from './components/Searchmodule/Searchmodule.vue'

import * as utils from './utils/utils.js'


import vFilter from '@/utils/vFilter.js'

for (const key in vFilter) {
  Vue.filter(key, vFilter[key])
}

Vue.use(ElementUI)
Vue.use(VCharts)
Vue.component('Searchmodule', Searchmodule)

// Vue.prototype.$http = axios
Vue.prototype.$utils = utils

Vue.config.productionTip = false

Vue.prototype.importUrl='http://47.98.96.200:10084/material/'



new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
